<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Edita Alumno</title>
    </h:head>
    <h:body>
        <h1>Edita Alumno</h1>
        <h:form>
            <h:inputHidden id="id" value="#{alumnoController.alumno.id}" />
            <h:inputHidden id="matricula" value="#{alumnoController.alumno.matricula}" />
            <h:panelGrid columns="2">
                <h:outputText value="Matricula" />
                <h:outputText value="#{alumnoController.alumno.matricula}"/>
                <h:outputText value="Nombre" />
                <h:inputText id="nombre" value="#{alumnoController.alumno.nombre}"/>
                <h:outputText value="Apellido" />
                <h:inputText id="apellido" value="#{alumnoController.alumno.apellido}"/>
                <h:outputText value="Correo" />
                <h:inputText id="correo" value="#{alumnoController.alumno.correo}"/>
            </h:panelGrid>
            <h:commandLink action="#{alumnoController.guarda}" value="Actualiza Alumno"/>
        </h:form>
    </h:body>
</html>

